package com.base.service;

import com.base.po.voip.ExchangeMobileRecord;
import com.base.po.voip.ExchangeMobileRecordExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ExchangeMobileRecordService {
    /**
     *  @Date: 2019/11/4 11:34
     *  @Description:
     *  插入记录
     */
    int countByExample(ExchangeMobileRecordExample example);

    int deleteByExample(ExchangeMobileRecordExample example);

    int deleteByPrimaryKey(String id);

    int insert(ExchangeMobileRecord record);

    int insertSelective(ExchangeMobileRecord record);

    List<ExchangeMobileRecord> selectByExample(ExchangeMobileRecordExample example);

    ExchangeMobileRecord selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") ExchangeMobileRecord record, @Param("example") ExchangeMobileRecordExample example);

    int updateByExample(@Param("record") ExchangeMobileRecord record, @Param("example") ExchangeMobileRecordExample example);

    int updateByPrimaryKeySelective(ExchangeMobileRecord record);

    int updateByPrimaryKey(ExchangeMobileRecord record);

    List<ExchangeMobileRecord> searchforTransfer(String mobileA, String mobileB, Integer status,String parentId, Integer pageSize, Integer pageNo);
}
